import { createRouter, createWebHashHistory } from 'vue-router'
import Login from '../views/Login.vue'
const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'login',
      component: Login
    },
    {
      path: '/main',
      name: 'main',
      component: () => import("@/views/Main.vue")
    }

  ]
})

export default router
